package cn.tedu.salary.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author guowengsheng
 * @version 1.0
 */
@Data
//映射数据库ems.salary表

public class SalaryQuery {
    //分页参数
    private Integer currentPage = 1;
    private Integer pageSize = 5;
    public Integer getBegin() {
        return (this.currentPage-1)*this.pageSize;
    }

    //高级查询的参数
    @ApiModelProperty(value = "关键字")
    private String keyword;

    @ApiModelProperty(value = "年月")
    private String month;

}
